/**
 * 作者: hxl
 * 日期: 2025-03-14 16:15:14
 * 备注: 限时充值配置表
 */
package com.motu.monstercity.server.game.commondata.act;
import com.motu.vertx.module.utility.toolset.Tool;
import io.vertx.core.json.JsonObject;

public class ActRecharge extends ActRechargeModel {
    public static final int TYPE_NORMAL = 4; // 常规礼包
    public static final int TYPE_RANK_ACT = 5; // 冲榜礼包
    public static final int TYPE_DAILY_SPECIAL_OFFER = 6; // 每日特惠

    public static final int[] ACT_GIFT_TYPES = {TYPE_NORMAL, TYPE_RANK_ACT, TYPE_DAILY_SPECIAL_OFFER};

    private int[] paramterArray;

    public ActRecharge(JsonObject obj) {
        super(obj);
        paramterArray = Tool.isEmpty(parameter) ? new int[0] : Tool.strToIntArray(parameter, ";");
    }

    public int[] getParamterArray() {
        return paramterArray;
    }

}
